package com.haiyou.dc.es.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.*;
import java.io.Serializable;


/**
 * 
 *
 * @author Administrator
 * @date 2020-01-20 18:05:59
 */
@ApiModel(value = "支持的地理位置")
@Data
@Accessors(chain = true)
@Table(name = "es_support_address")
public class EsSupportAddress implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @ApiModelProperty(value = "id", name = "id")
    private Integer id;

    /**
     * 上一级行政单位名
     */
    @Column(name = "belong_to")
    @ApiModelProperty(value = "上一级行政单位名", name = "belongTo")
    private String belongTo;

    /**
     * 行政单位英文名缩写
     */
    @Column(name = "en_name")
    @ApiModelProperty(value = "行政单位英文名缩写", name = "enName")
    private String enName;

    /**
     * 行政单位中文名
     */
    @Column(name = "cn_name")
    @ApiModelProperty(value = "行政单位中文名", name = "cnName")
    private String cnName;

    /**
     * 行政级别 市-city 地区-region
     */
    @Column(name = "level")
    @ApiModelProperty(value = "行政级别 市-city 地区-region", name = "level")
    private String level;

    /**
     * 百度地图经度
     */
    @Column(name = "baidu_map_lng")
    @ApiModelProperty(value = "百度地图经度", name = "baiduMapLng")
    private String baiduMapLng;

    /**
     * 百度地图纬度
     */
    @Column(name = "baidu_map_lat")
    @ApiModelProperty(value = "百度地图纬度", name = "baiduMapLat")
    private String baiduMapLat;

}
